<form name="child_list" action="index.php" enctype="multipart/form-data" method="post">
<input name="admin" type="hidden" value="1">
<input name="module" type="hidden" value="payment">
<input name="act" type="hidden" value="save">
<input name="gateway" type="hidden" value="prepay">
<input name="referer" type="hidden" value="{ext->get_referer}">
{ext->class_function class="payment" func="get_gateway_data" gateway="prepay" assign="hanza_data"}
<table width="100%" cellpadding="0" cellspacing="0" style="background-color:#FFFFFF; border:15px solid #FFFFFF;">
	<tr>
		<td height="20">{t t="Url then OK"}</td>		
		<td><input type="text" name="URL_OK" maxlength="255" class="defaultInputText" style="width:500px;" value='{if $hanza_data.URL_OK}{$hanza_data.URL_OK|escape:"html"}{/if}'></td>
	</tr>
	<tr>
		<td height="20">{t t="Url then CANCEL"}</td>		
		<td><input type="text" name="URL_CANCEL" maxlength="255" class="defaultInputText" style="width:500px;" value='{if $hanza_data.URL_CANCEL}{$hanza_data.URL_CANCEL|escape:"html"}{/if}'></td>
	</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" style="background-color:#FFFFFF; border-left:15px solid #FFFFFF; border-right:15px solid #FFFFFF;">
	<tr>
		<td colspan="2">
			<table width="100%" cellpadding="0" cellspacing="0" border="0">
			<tr>
				<td height="20" width="100%">{t t='Prepay invoice template'}</td>
			</tr>
			<tr>
				<td width="100%">
					<textarea name="INVOICE_TMP" style="width:100%; font-size:9px;" rows="19">{if $hanza_data.INVOICE_TMP}{$hanza_data.INVOICE_TMP|escape:"html"}{/if}</textarea>
				</td>
			</tr>
			</table>
		</td>
	</tr>
</table>
<table cellpadding="0" cellspacing="0" width="100%">
	<tr>
		<td bgcolor="#FFFFFF" height="5" width="150">						
		<input onClick="doSubmit('child_list'); return false;" type="button" value="{t t="Išsaugoti pakeitimus"}" class="defaultFormButton" style="margin:15px ">
		</td>		
		<td bgcolor="#FFFFFF" height="5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
	</tr>
</table>
</form>
{error->LoadErrorArray assign='errors'}
{if $errors.payment_hanza.25 || $errors.payment_hanza.26 || $errors.payment_hanza.27}
	<script language="javascript1.4" type="text/javascript">
		var str = String;
		{if $errors.payment_paypal.25}str = "{t t='error_code_25'}\n";{/if}
		{if $errors.payment_paypal.26}str += "{t t='error_code_26'}\n";{/if}
		{if $errors.payment_paypal.27}str += "{t t='error_code_27'}";{/if}
		alert(str);
	</script>
{/if}